package com.fysports.web.model.user;

import com.jfinal.log.Log;
import com.fysports.web.model.BaseModel;

import java.util.Date;

/**
* Class title: DB实体 - user_favorite - 用户产品收藏 <br/>
* Describe:                    <br/>
* Created by [CodeGenerator]   <br/>
* Date : 2015-12-28 09:16:26       <br/>
* Project : weixin           <br/>
*/
public class UserFavorite extends BaseModel<UserFavorite>{
    /**/
    private static Log log = Log.getLog(UserFavorite.class);
    public final static UserFavorite dao = new UserFavorite();
    /*数据库字段静态变量*/
    /** useruuid   */
    public final static String COL_USERUUID="useruuid";
    /** productuuid   */
    public final static String COL_PRODUCTUUID="productuuid";
    /** remark   */
    public final static String COL_REMARK="remark";
    public UserFavorite() {
        if (this.getStr(COL_UUID) == null || this.getStr(COL_UUID).length() == 0) {
        this.set(COL_UUID, generateUUID());
        }
    }


    public String getUseruuid(){
            return this.getStr(COL_USERUUID);
    }
    public void setUseruuid(String useruuid){
        this.set(COL_USERUUID,useruuid);
    }
    public String getProductuuid(){
            return this.getStr(COL_PRODUCTUUID);
    }
    public void setProductuuid(String productuuid){
        this.set(COL_PRODUCTUUID,productuuid);
    }
    public String getLiveflag(){
            return this.getStr(COL_LIVEFLAG);
    }
    public void setLiveflag(String liveflag){
        this.set(COL_LIVEFLAG,liveflag);
    }
    public Date getCreatetime(){
            return this.getDate(COL_CREATETIME);
    }
    public void setCreatetime(Date createtime){
        this.set(COL_CREATETIME,createtime);
    }
    public String getRemark(){
            return this.getStr(COL_REMARK);
    }
    public void setRemark(String remark){
        this.set(COL_REMARK,remark);
    }
}